package com.neusoft.neu24g1.his5.controller;

import com.neusoft.neu24g1.his5.util.GlobalData;
import javafx.fxml.FXML;
import javafx.scene.control.Label;

import java.io.IOException;

public class HelloController {
    @FXML
    private Label welcomeText;

    @FXML
    protected void onHelloButtonClick() {
        welcomeText.setText("Welcome to JavaFX Application!");
    }

    @FXML

    public void btn_login() throws IOException {

        GlobalData.switchScence("reg-view.fxml",500,800  , "东软HIS系统 | 注册界面");

        System.out.println("HelloController.btn_login");

    }
}

